﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using BusinessEntities;
using System.Data;

namespace BusinessLogicLayer
{
    public class PhieuDieuTri_Manager
    {
        public static PhieuDieuTri_Adapter phieudt = new PhieuDieuTri_Adapter();

        public int PhieuDieuTri_Them_NoiTru(PhieuDieuTri_Info info)
        {
            return phieudt.PhieuDieuTri_Them_NoiTru(info);
        }

        public int PhieuDieuTri_CapNhat_NoiTru(PhieuDieuTri_Info info)
        {
            return phieudt.PhieuDieuTri_CapNhat_NoiTru(info);
        }

        public int PhieuDieuTri_Xoa(int MaPhieu)
        {
            return phieudt.PhieuDieuTri_Xoa(MaPhieu);
        }

        public DataTable PhieuDieuTri_MaPhieu(int MaPhieu)
        {
            return phieudt.PhieuDieuTri_MaPhieu(MaPhieu);
        }

        public DataTable PhieuDieuTri_MaBA_TrongNgay(int MaBA)
        {
            return phieudt.PhieuDieuTri_MaBA_TrongNgay(MaBA);
        }

        public DataTable PhieuDieuTri_MaBA(int MaBA)
        {
            return phieudt.PhieuDieuTri_MaBA(MaBA);
        }

        public DataTable PhieuDieuTri_All_MaBS(string MaBS)
        {
            return phieudt.PhieuDieuTri_All_MaBS(MaBS);
        }

        public DataTable PhieuDieuTri_All(string MaBS)
        {
            return phieudt.PhieuDieuTri_All(MaBS);
        }

        public DataTable PhieuDieuTri_TimTheoMaPhieu_MaBS(string MaBS, int MaPhieu)
        {
            return phieudt.PhieuDieuTri_TimTheoMaPhieu_MaBS(MaBS, MaPhieu);
        }

        public DataTable PhieuDieuTri_TimTheoMaBA_MaBS(string MaBS, int MaBA)
        {
            return phieudt.PhieuDieuTri_TimTheoMaBA_MaBS(MaBS, MaBA);
        }

        public DataTable PhieuDieuTri_TimTheoNgayGhi_MaBS(string MaBS, DateTime ThoiGianGhi)
        {
            return phieudt.PhieuDieuTri_TimTheoNgayGhi_MaBS(MaBS, ThoiGianGhi);
        }

        public DataTable PhieuDieuTri_TimTheoThangGhi_MaBS(string MaBS, DateTime ThoiGianGhi)
        {
            return phieudt.PhieuDieuTri_TimTheoThangGhi_MaBS(MaBS, ThoiGianGhi);
        }

        public DataTable PhieuDieuTri_TimTheoNamGhi_MaBS(string MaBS, DateTime ThoiGianGhi)
        {
            return phieudt.PhieuDieuTri_TimTheoNamGhi_MaBS(MaBS, ThoiGianGhi);
        }

        public DataTable PhieuDieuTri_BNXuatVien()
        {
            return phieudt.PhieuDieuTri_BNXuatVien();
        }

        public DataTable PhieuDieuTri_TimTheoMaBS(string MaBS)
        {
            return phieudt.PhieuDieuTri_TimTheoMaBS(MaBS);
        }

        public DataTable PhieuDieuTri_TimTheoTenBS(string TenBS)
        {
            return phieudt.PhieuDieuTri_TimTheoTenBS(TenBS);
        }

        public DataTable PhieuDieuTri_TimTheoNgayGhi(DateTime ThoiGianGhi)
        {
            return phieudt.PhieuDieuTri_TimTheoNgayGhi(ThoiGianGhi);
        }

        public DataTable PhieuDieuTri_TimTheoThangGhi(DateTime ThoiGianGhi)
        {
            return phieudt.PhieuDieuTri_TimTheoThangGhi(ThoiGianGhi);
        }

        public DataTable PhieuDieuTri_TimTheoNamGhi(DateTime ThoiGianGhi)
        {
            return phieudt.PhieuDieuTri_TimTheoNamGhi(ThoiGianGhi);
        }
    }
}
